import 'MatchAiListEntity.dart';

class   MatchAiDetailEntity{
  MatchAiListAiVipEntity ?spProAiVip;
  MatchAiDetailInfoEntity ?spProInfo;
  MatchAiDetailEntity.fromJson(json){
    if(json['ai_vip']!=null){
      spProAiVip =MatchAiListAiVipEntity.fromJson(json['ai_vip']);
    }
    if(json['info']!=null){
      spProInfo =MatchAiDetailInfoEntity.fromJson(json['info']);
    }
  }
}

class MatchAiDetailInfoEntity{
  MatchAiListDataEntity ?spProGuessMatch;
  List<MatchAiDetailInfoAiEntity> spProAiList =[];
  String ?spProIsEmpty;
  MatchAiDetailInfoEntity.fromJson(Map<String ,dynamic> json){
    if(json['guess_match']!=null){
      spProGuessMatch = MatchAiListDataEntity.fromJson(json['guess_match']);
    }
    if(json['ai']!=null){
      spProAiList=[];(json['ai'] as List).forEach((v) { spProAiList.add(new MatchAiDetailInfoAiEntity.fromJson(v)); });
    }
    if(json['is_empty']!=null){
      spProIsEmpty = json['is_empty'];
    }
  }
}

class MatchAiDetailInfoAiEntity{
  String ?spProGuessMatchId;
  String ?spProGuessType;
  String ?spProPlayingWay;
  String ?spProWinOddsOne;
  String ?spProDrawOdds;
  String ?spProWinOddsTwo;
  String ?spProAddScore;
  String ?spProAddScoreDesc;
  String ?spProMidScore;
  String ?spProLeftNum;
  String ?spProContentNum;
  String ?spProRightNum;
  String ?spProIsOver;
  String ?spProWhichWin;
  String ?spProStTime;
  String ?spProMatchType;
  String ?spProSupportWhich;
  String ?spProIsWin;
  MatchAiDetailInfoAiEntity ?spProBigShot;
  MatchAiDetailInfoAiEntity.fromJson(Map<String ,dynamic> json){
    if(json['guess_match_id']!=null){
      spProGuessMatchId = json['guess_match_id'];
    }
    if(json['guess_type']!=null){
      spProGuessType = json['guess_type'].toString();
    }
    if(json['playing_way']!=null){
      spProPlayingWay = json['playing_way'].toString();
    }
    if(json['win_odds_one']!=null){
      spProWinOddsOne = json['win_odds_one'].toString();
    }
    if(json['draw_odds']!=null){
      spProDrawOdds = json['draw_odds'].toString();
    }
    if(json['win_odds_two']!=null){
      spProWinOddsTwo = json['win_odds_two'].toString();
    }
    if(json['add_score']!=null){
      spProAddScore = json['add_score'].toString();
    }
    if(json['add_score_desc']!=null){
      spProAddScoreDesc = json['add_score_desc'].toString();
    }
    if(json['mid_score']!=null){
      spProMidScore = json['mid_score'].toString();
    }
    if(json['left_num']!=null){
      spProLeftNum = json['left_num'].toString();
    }
    if(json['content_num']!=null){
      spProContentNum = json['content_num'].toString();
    }
    if(json['right_num']!=null){
      spProRightNum = json['right_num'].toString();
    }
    if(json['is_over']!=null){
      spProIsOver = json['is_over'].toString();
    }
    if(json['which_win']!=null){
      spProWhichWin = json['which_win'].toString();
    }
    if(json['st_time']!=null){
      spProStTime= json['st_time'].toString();
    }
    if(json['match_type']!=null){
      spProMatchType= json['match_type'].toString();
    }
    if(json['support_which']!=null){
      spProSupportWhich= json['support_which'].toString();
    }
    if(json['is_win']!=null){
      spProIsWin= json['is_win'].toString();
    }
    if(json['big_shot']!=null){
      spProBigShot=MatchAiDetailInfoAiEntity.fromJson(json['big_shot']);
    }
  }
}

